<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>DeleteFrame Avisynth Filter</title>
<link rel="stylesheet" type="text/css" href="../../avisynth.css">
</head>
<body>
<h2><a name="DeleteFrame"></a>DeleteFrame</h2>
<p><code>DeleteFrame </code>(<var>clip, int frame [, ...]</var>)</p>
<p><code>DeleteFrame</code> deletes a set of frames, given as a number
of arguments.  The sound track is not modified, so if you use this filter to
delete many frames you may get noticeable desynchronization.
</p>
<p><b>Examples:</b>
</p>
<pre>DeleteFrame(3, 9, 21, 42) # delete frames 3, 9, 21 and 42</pre>
<p>If you want to delete a range of frames (<i>a</i> to <i>b</i>, say) along with
the corresponding portion of the soundtrack, you can do it with <a href="trim.htm">Trim</a> like this:</p>
<pre>Trim(0,a-1) ++ Trim(b+1,0)</pre>
<p>Or like this:</p>
<pre>Loop(0,a,b)</pre>
<p><b>Changelog:</b></p>
<table border="1">
  <tbody>
    <tr>
      <td>v2.58</td>
      <td>added support for multiple arguments</td>
    </tr>
  </tbody>
</table>
<p><kbd>$Date: 2008/06/16 19:42:53 $</kbd></p>
<FORM>
<INPUT TYPE="Button" VALUE="Back"
onClick="history.go(-1)">
</form>
</body>
</html>
